import request from '@/utils/request'

export function alluser(data) {
    return request({
        url: 'admin/wenjuan/alluser',
        method: 'post',
        data
    })
}

export function updateUser(data) {
    return request({
        url: 'admin/user/updateUser',
        method: 'post',
        data
    })
}

export function deleteUserById(id) {
    return request({
        url: 'admin/user/deleteUserById',
        method: 'get',
        params: id
    })
}

//获取领导或管理者用户
export function partUser(data) {
    return request({
        url: 'admin/wenjuan/alluser2',
        method: 'post',
        data
    })
}
